package com.threeti.jiayusms.domain.service.communicationvoice;

import com.threeti.jiayusms.domain.model.CommunicationVoice;
import com.threeti.jiayusms.framework.util.DynaSearchCriteria;
import com.threeti.jiayusms.framework.util.PagedListHandler;

public interface CommunicationVoiceQueryService {
	
	public CommunicationVoice findCommunicationVoiceBy(Long voiceId);
	
	/** 根据语音编号取得特定的语音模板 */
	CommunicationVoice findCommunicationVoiceBy(String voiceId);
	
	/** 分页取得所有语音模板 无条件查询) */
	 PagedListHandler<CommunicationVoice> findAllVoiceTemplatesByPage(int currentPageIndex, int startingIndex);
	 
	 /** 根据条件(模糊)查询取得语音模板  */
	  PagedListHandler<CommunicationVoice> findVoiceTemplatesByPage(DynaSearchCriteria dynaSearchCriteria, int currentPageIndex, int startingIndex);
}
